import request from "./index";

export const getNavList = ()=>request({url:"/navList",method:'get'});

export const getSwiper = ()=>request({url:'/swiperList',method:'get'});


export const getVideosList = ()=>request({
    url:'/videosList',
    method:'get',
})


export const getVideoDetail = (id:string)=>request({url:`/videoDetail?id=${id}`,method:'get'});

export const getRecommendList = ()=>request({url:'/recommendList',method:'get'});

export const getCommentsList = ()=>request({url:'/commentsList',method:'get'});
